@using SimpleApp.Models
@model IEnumerable<Product>
@{ Layout=null;}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Simple App</title>
</head>
<body>
    <ul>
        @foreach (var product in Model ?? Enumerable.Empty<Product>())
        {
            <li>Name: @product.Name, Price: @product.Price</li>
        }
    </ul>
</body>
</html>